package com.yohann.designPattern.chain;

/**
 * <p>
 * 购买请求
 * </p>
 *
 * @author Yohann
 * @since 2021/2/13 18:43
 */
public class PurchaseRequest {
    private int type;
    private float price;
    private int id;

    public PurchaseRequest(int type, float price, int id) {
        this.type = type;
        this.price = price;
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public float getPrice() {
        return price;
    }

    public int getId() {
        return id;
    }
}